using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DataAccess;
using Entities;
/// <summary>
/// Summary description for KhoaHocBL
/// </summary>
namespace BusinessLogic 
{
    public class KhoaHocBL 
    {
    	#region Private Variables
		KhoaHocDAL objKhoaHocDAL;
		#endregion
		
        #region Public Constructors
        public KhoaHocBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objKhoaHocDAL=new KhoaHocDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(KhoaHoc objKhoaHoc)
        {
            return objKhoaHocDAL.Insert(objKhoaHoc);
        }

        public int Update(KhoaHoc objKhoaHoc)
        {
             return objKhoaHocDAL.Update(objKhoaHoc);

        }

        public int Delete(KhoaHoc objKhoaHoc)
        {
             return objKhoaHocDAL.Delete(objKhoaHoc);

        }

         public int DeleteAll()
        {
             return objKhoaHocDAL.DeleteAll();
        }

        public KhoaHoc Select(KhoaHoc objKhoaHoc)
        {
            return objKhoaHocDAL.Select(objKhoaHoc);
        }

        public ArrayList SelectAllToArray( )
        {
         return objKhoaHocDAL.SelectAllToArray();
        }
        
        public DataTable SelectAll( )
        {
         return objKhoaHocDAL.SelectAll();
        }


     
#endregion          
    
    }

}
